package cn.studyjava.dubbo.server;

import java.io.IOException;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * <p>
 * Description:
 * </p>
 * 
 * @author: zhangshenglong
 * @version 1.0.0
 * <p>
 * History:
 * -----------------------------------------------
 * @Date: 2017年3月1日下午1:35:16
 * @author: zhangshenglong
 * @version 1.0.0
 * @OP: Create
 * -----------------------------------------------
 * </p>
 *
 * @since
 * @see
 */
public class DemoServer {
    
    public static void main(String[] args) throws IOException {  
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[] { "applicationConsumer.xml" });  
        context.start();  
        System.out.println("按任意键退出");  
        System.in.read();  
    }  
}
